﻿<?xml version="1.0"?>
<Things>
    <Thing standardThingID="Engine" 
           name="Vehicle Engine" 
           instance="1" 
           id="engine">
        
        <Data>
            <Item id="engine.temperature" 
                standardDataID="Temperature" 
                units="Celsius" 
                writable="false" 
                dataType="Decimal" />
            <Item id="engine.rpm" 
                standardDataID="RPM" 
                units="None" 
                writable="false" 
                dataType="Integer"/>
            <Item id="engine.running" 
                  standardDataID="OnOff" 
                  units="None" 
                  writable="false" 
                  dataType="Boolean"/>
            <Item id="engine.oil_pressure" 
                  standardDataID="Pressure" 
                  units="Pascal" 
                  writable="false" 
                  dataType="Decimal"/>
        </Data>
    </Thing>
</Things>

<ValueSet timestamp="2014-02-26T18:04:24Z">
    <Values thingID="engine" instance="1">
        <Value id="engine.temperature">42</Value>
        <Value id="engine.rpm">0</Value>
        <Value id="engine.running">False</Value>
        <Value id="engine.oil_pressure">0</Value>
    </Values>
</ValueSet>